﻿﻿@{
    ViewBag.Title = "CapitalAdd";
}

<link rel="stylesheet" type="text/css" href="~/Easy-UI/easyui/1.3.4/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="~/Easy-UI/css/wu.css" />
<link rel="stylesheet" type="text/css" href="~/Easy-UI/css/icon.css" />
<script type="text/javascript" src="~/Easy-UI/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="~/Easy-UI/easyui/1.3.4/jquery.easyui.min.js"></script>
<script type="text/javascript" src="~/Easy-UI/easyui/1.3.4/locale/easyui-lang-zh_CN.js"></script>

<table id="tttt">
    <tr>
        <td>借款人姓名：</td>
        <td><input type="text" /></td>
        <td>身份证号：</td>
        <td><input type="text" /></td>
        <td>联系电话：</td>
        <td><input type="text" /></td>
        <td>
            <a href="javascript:void(0)" onclick="aaa()" class="easyui-linkbutton" iconcls="icon-add">添加联系人</a>
        </td>
    </tr>
</table>

<script>
    function aaa() {
        $("#tttt").append("<tr><td>借款人姓名：</td><td><input type=\"text\" /></td><td>身份证号：</td><td><input type=\"text\" /></td><td>联系电话：</td><td><input type=\"text\" /></td><td><a href=\"#\" class=\"easyui-linkbutton\" iconcls=\"icon-no\" onclick=\"bbb(this)\">删除联系人</a></td></tr>");
    }
    function bbb(obj) {
        $(obj).parent().parent().remove();
    }
    $('#p').panel({
        width: 500,
        height: 150,
        title: 'My Panel',
        tools: [{
            iconCls: 'icon-add',
            handler: function () { alert('new') }
        }, {
            iconCls: 'icon-save',
            handler: function () { alert('save') }
        }]
    });
    $('#p').panel('move', {
        left: 100,
        top: 100
    });
    $('#p').panel({
        href: 'content_url.php',
        onLoad: function () {
            alert('loaded successfully');
        }
    });
</script>


<h2>借款人员基本信息：</h2>
<form action="/House/CapitalAddDo">
    <table style="text-align:right;">
        <tr>
            <th style="font-size:14px;">借款人员姓名：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>身份证号：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>联系电话：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>联系人：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>联系人电话：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>房屋剩余年限：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" name="surplus_Years" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>贷款额度（万元）：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" name="basic_Quota" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>房屋坐落：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" name="house_Located" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>房屋用途：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="house_Purpose" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>建成年代：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" name="house_Time" style="width:300px;height:24px"></td>
        </tr>
        <tr>
            <th>建成年代来源：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="yers_Source" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>报告类型：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="presentation_Type" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>评估受理：</th>
            <td style="text-align:left"><input type="checkbox" id="one" /><input type="checkbox" id="one" /><input type="checkbox" id="one" /><input type="checkbox" id="one" /></td>
        </tr>
        <tr>
            <th>所属部门：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="city" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>勘察员：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="city" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>估价员：</th>
            <td><select class="easyui-combotree" url="data/city_data.json" name="city" style="width:300px;"></select></td>
        </tr>
        <tr>
            <th>评估通知单出具日期：</th>
            <td><input class="easyui-textbox" data-options="prompt:'请输入...',validType:'txtname'" style="width:300px;height:24px"></td>
        </tr>
        <tr style="text-align:center">
            <td colspan="2"><a href="#" class="easyui-linkbutton" iconcls="icon-add">登记</a></td>
        </tr>
    </table>
</form>
